package com.google.code.swingonfire.utility.date;

import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;
import java.util.Calendar;

interface DateRendererPart
{

    boolean setStyle(DateFormatStyle style);

    void resetCachedValues();

    Rectangle2D getMaximumBounds();

    Rectangle2D getBounds(double x);

    double render(Graphics2D g, Calendar calendar, double x);
    
}
